package com.example.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.example.entity.HnyySscPickingCartonDetail;
import com.example.mapper.HnyySscPickingCartonDetailMapper;
import com.example.service.HnyySscPickingCartonDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HnyySscPickingCartonDetailServiceImp implements HnyySscPickingCartonDetailService {

    @Autowired
    private HnyySscPickingCartonDetailMapper hnyySscPickingCartonDetailMapper;

    @Override
    public List<HnyySscPickingCartonDetail> queryNew(String inv,String fromBillSc) {
        return hnyySscPickingCartonDetailMapper.queryNew(inv,fromBillSc);
    }

    @Override
    public List<HnyySscPickingCartonDetail> queryType(String type) {
        return hnyySscPickingCartonDetailMapper.queryType(type);
    }

    @Override
    public void update(HnyySscPickingCartonDetail hnyySscPickingCartonDetail) {
        hnyySscPickingCartonDetailMapper.update(hnyySscPickingCartonDetail);
    }
}
